/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.LSPviolation.conf;


import za.ac.cput.LSPviolation.AccountsService;
import za.ac.cput.LSPviolation.impl.CurrentAccountImpl;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.LSPcompliance.model.Account;
/**
 *
 * @author Enkosi
 */
@Configurable 
public class Config {
    @Bean(name="accountsService")
    public AccountsService annualSalary(){
        return new CurrentAccountImpl();
    }
    @Bean
    public AccountsService grossSalary(){
        return new CurrentAccountImpl();
    }
}
